package com.liuhaha.auth.application.convert;

import com.liuhaha.auth.application.dto.AuthUserDTO;
import com.liuhaha.auth.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author liuhaha
 * @version 1.0
 * @date 2024-05-19 18:07
 */
@Mapper
public interface AuthUserDTOConverter {

    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);

    AuthUserBO convertDTOToBO (AuthUserDTO authUserDTO);

    AuthUserDTO convertBOToDTO(AuthUserBO authUserBO);



}
